
package cn.fintecher.pangolin.common.utils;


/**
 * @Description: 内部服务调用URL
 * @Author: peishouwen
 * @Date Created in 2018/7/25 0:31
 */
public class InnerServiceUrl {
    /**
     * 通过文件ID获取文件流
     */
    public static final String COMMON_SERVICE_GETFILEBYID = "http://common-service/api/uploadFile/getFileStreamById";

    /**
     * 通过文件名称获取文件流
     */
    public static final String COMMON_SERVICE_GETFILEBYNAME = "http://common-service/api/uploadFile/getFile";

    /**
     * 通过文件ID解压文件
     */
    public static final String COMMON_SERVICE_UNZIPFILE = "http://common-service/api/uploadFile/unZipCaseFile/";


    /**
     * 获取token
     */
    public static final String MANAGEMENT_SERVICE_GETBYTOKEN = "http://management-service/api/operators/getUserByToken/";

    /**
     * 获取案件状态
     */
    public static final String MANAGEMENT_SERVICE_CASESTATUS = "http://management-service/api/custConfig/getCaseStateByPrin";


    /**
     * 获取用户组织对应下分公司的所有组织
     */
    public static final String MANAGEMENT_SERVICE_FINDOPERATORORGANIZATION = "http://management-service/api/organization/findOperatorOrganization?orgId=";

    /**
     * 获取用户对应机构的所有父以及子机构
     */
    public static final String MANAGEMENT_SERVICE_FINDPARENTORGIDS = "http://management-service/api/organization/findParentOrgIds?orgId=";

    /**
     * 获取所有分公司
     */
    public static final String MANAGEMENT_SERVICE_FINDALLBRANCH = "http://management-service/api/organization/findAllBranch?";

    /**
     * 获取用户组织对应下分公司的部门code
     */
    public static final String MANAGEMENT_SERVICE_FIND_BRANCH_CODE = "http://management-service/api/organization/getBranchDepartCode?orgId=";

    /**
     * 获取用户组织对应下分公司的部门code
     */
    public static final String MANAGEMENT_SERVICE_FIND_BRANCH_NAME = "http://management-service/api/organization/getBranchDeptName?code=";


    /**
     * 获取用户组织对应的所有父类
     */
    public static final String MANAGEMENT_SERVICE_FIND_PARENT_ID = "http://management-service/api/organization/findParentId?orgId=";

    /**
     * 获取token
     */
    public static final String MANAGEMENT_SERVICE_FIND_EXPORT_ITEM = "http://management-service/api/exportConfigController/getFollowConfigItems?principalId=";

    /**
     * 查询配置流程
     */
    public static final String MANAGEMENT_SERVICE_FINDCONFIGFLOW = "http://management-service/api/configFlowController/findConfigFlow";

    public static final String MANAGEMENT_SERVICE_FINDCONFIGFLOWBYTYPE = "http://management-service/api/configFlowController/findConfigFlowByType";

    /**
     * 通过ID获取模板配置
     */
    public static final String MANAGEMENT_SERVICE_GETTEMPLATEBYID = "http://management-service/api/templateDataController/getTemplateData/";

    public static final String COMMON_SERVICE_UPLOADFILE = "http://common-service/api/uploadFile/upload";

    /**
     * 通过催收员ID查询催收案件
     */
    public static final String DOMIAN_SERVICE_SEARCHBASECASE = "http://domain-service/api/collectionCase/deletedBaseCase";


    /**
     * 系统晚间批量
     */
    public static final String SYS_OVER_NIGHT_JOB = "http://domain-service/api/sysBatchProcessController/doOverNightJob";

    /**
     * 备忘录提醒
     */
    public static final String DATAIMP_SERVICE_COMMENTREMIND = "http://dataimp-service/api/schedule/sendCommentMsg?minute=";


    /**
     * 获取各个委托方主键关联字段
     */
    public static final String MANAGEMENT_SERVICE_PRIMARY_PROPERTY = "http://management-service/api/exportConfigController/getPrimaryProperty?principalId=";

    /**
     * 获取催记导出模板
     */
    public static final String MANAGEMENT_SERVICE_PRIMARY_EXPORTCONFIG = "http://management-service/api/exportConfigController/getTemplate?id=";

    /**
     * 保存记录日志
     */
    public static final String DATAIMP_SERVICE_SAVE_SYSTEMLOG = "http://dataimp-service/api/systemLogController/saveSystemLog";

    /**
     * 获取信函模板文件id
     */
    public static final String MANAGEMENT_SERVICE_GET_MODELFILEID = "http://management-service/api/exportLetterController/getTemplate?id=";


    /**
     * 系统晚间拉取录音
     */
    public static final String SYS_PULL_RECORD_JOB = "http://domain-service/api/pullRecordScheduController/doPullRecordJob";
}
